<html>
<head lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
	  xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
		<title>文件上传test</title>
		<meta charset="utf-8"/>
	</head>
	
	<body>
		
		
    	<form name="serForm" action="http://localhost:8080/wx/upload/img" method="post"  enctype="multipart/form-data">
			<h1>上传文件</h1>
			<input type="file" name="file"></input>
			<input type="submit" value="上传"></input>
		</form>
	
	</body>
</html>